package com.zg.nacos.domain.vo;

import com.zg.common.core.vo.BaseVo;
import com.zg.common.core.vo.IVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/23 20:19
 */
@ApiModel(description = "服务选择器配置")
public class SelectorVo extends BaseVo {

    /** 选择器类型 */
    @ApiModelProperty(value = "选择器类型", example = "none", required = true)
    private String type;

    /** 上下文类型 */
    @ApiModelProperty(value = "上下文类型", example = "NONE", required = true)
    private String contextType;

    // getter和setter方法
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContextType() {
        return contextType;
    }

    public void setContextType(String contextType) {
        this.contextType = contextType;
    }

    @Override
    public String toString() {
        return "Selector{" +
                "type='" + type + '\'' +
                ", contextType='" + contextType + '\'' +
                '}';
    }
}
